GraphicsFormats package for Buoy

RawIcoExporter.SaveToFile Method

Saves a single bitmap to a ICO file.

SaveToFile(
   image as RawBitmap,
   f as FileSystemItem)

Parameters

image
The bitmap to be saved into ICO file. This must be RGB color space, and 8 bit per channel bitmap.
f
A FileSystemItem that defines the destination of the ICO file.

Remarks

Note this method will clear images that have been added with AddBitmap.

This method is basically macro for:
Clear added bitmaps
AddBitmap (one bitmap)
SaveBitmapsToFile


This method can throw GraphicsFormatsException.

See Also

RawIcoExporter Class